package com.macro.mall.dao.cms;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.macro.mall.model.cms.CmsSubjectCommentDO;
import com.macro.mall.model.cms.CmsSubjectCommentQuery;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CmsSubjectCommentMapper   extends BaseMapper<CmsSubjectCommentDO> {
    long countByExample(CmsSubjectCommentQuery example);

    int deleteByExample(CmsSubjectCommentQuery example);

    int deleteByPrimaryKey(Long id);

    int insert(CmsSubjectCommentDO record);

    int insertSelective(CmsSubjectCommentDO record);

    List<CmsSubjectCommentDO> selectByExample(CmsSubjectCommentQuery example);

    CmsSubjectCommentDO selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") CmsSubjectCommentDO record, @Param("example") CmsSubjectCommentQuery example);

    int updateByExample(@Param("record") CmsSubjectCommentDO record, @Param("example") CmsSubjectCommentQuery example);

    int updateByPrimaryKeySelective(CmsSubjectCommentDO record);

    int updateByPrimaryKey(CmsSubjectCommentDO record);
}
